package biz

import (
	"github.com/go-kratos/kratos/v2/log"
	"github.com/google/wire"
)

// ProviderSet is biz providers.
var ProviderSet = wire.NewSet(NewTripUsecase)

type TripUsecase struct {
	repo TripRepo
	log  *log.Helper
}

func NewTripUsecase(repo TripRepo, logger log.Logger) *TripUsecase {
	return &TripUsecase{repo: repo, log: log.NewHelper(logger)}
}
